const path = require('path')
const merge = require('webpack-merge')

const base = require('./webpack.base.js')

module.exports = merge(base, {
    target: 'node', // webpack 打包的目标环境。
    entry: './src/client/index.js',
    output: {
        path: path.resolve('public'),
        filename: 'client.js'
    }
})
